package com.eascs.admin.o2o.backfee.entity;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.NamedQuery;
import javax.persistence.Table;


/**
 * The persistent class for the wf_message database table.
 * 
 */
@Entity
@Table(name="o2o_loanapply_expand")
@NamedQuery(name="O2OComReceiveFee.findAll", query="SELECT w FROM O2OComReceiveFee w")
public class O2OComReceiveFee implements Serializable {
	private static final long serialVersionUID = 1L;
	
	public static final String BACK_TYPE_RISK = "BackRisk";
	public static final String BACK_TYPE_DEPOSITE = "BackDeposite";
	public static final String BACK_TYPE_MANAGE = "BackManage";
	
	@Id
	@Column(name="id")
	private String id;

	/**
	 * 贷款(主表)NO
	 */
	@Column(name="loanapply_no")
	private String loanapplyNo;

	/**
	 * 单据编号
	 */
	@Column(name="bill_code")
	private String billCode;

	/**
	 * 退款流程状态(NEW：新建,RUN：退款中,CLO：已退并流程结束)
	 */
	@Column(name="bill_status")
	private String billStatus;

	/**
	 * 付款人
	 */
	@Column(name="pay_name")
	private String payName;

	/**
	 * 要求实际到款时间（财务填写）日期
	 */
	@Column(name="pay_date")
	private Date payDate;
	
	/**
	 * 已交管理费
	 */
	@Column(name="red_manger")
	private double redManger;
	
	/**
	 * 已交补偿金
	 */
	@Column(name="red_risk")
	private double redRisk;

	/**
	 * 已交保证金
	 */
	@Column(name="red_deposite")
	private double redDeposite;
	
	/**
	 * 应交管理费
	 */
	@Column(name="rec_manger")
	private double recManger;
	
	/**
	 * 应交补偿金
	 */
	@Column(name="rec_risk")
	private double recRisk;

	/**
	 * 应交保证金
	 */
	@Column(name="rec_deposite")
	private double recDeposite;

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getLoanapplyNo() {
		return loanapplyNo;
	}

	public void setLoanapplyNo(String loanapplyNo) {
		this.loanapplyNo = loanapplyNo;
	}

	public String getBillCode() {
		return billCode;
	}

	public void setBillCode(String billCode) {
		this.billCode = billCode;
	}

	public String getBillStatus() {
		return billStatus;
	}

	public void setBillStatus(String billStatus) {
		this.billStatus = billStatus;
	}

	public String getPayName() {
		return payName;
	}

	public void setPayName(String payName) {
		this.payName = payName;
	}

	public Date getPayDate() {
		return payDate;
	}

	public void setPayDate(Date payDate) {
		this.payDate = payDate;
	}

	public double getRedManger() {
		return redManger;
	}

	public void setRedManger(double redManger) {
		this.redManger = redManger;
	}

	public double getRedRisk() {
		return redRisk;
	}

	public void setRedRisk(double redRisk) {
		this.redRisk = redRisk;
	}

	public double getRedDeposite() {
		return redDeposite;
	}

	public void setRedDeposite(double redDeposite) {
		this.redDeposite = redDeposite;
	}

	public double getRecManger() {
		return recManger;
	}

	public void setRecManger(double recManger) {
		this.recManger = recManger;
	}

	public double getRecRisk() {
		return recRisk;
	}

	public void setRecRisk(double recRisk) {
		this.recRisk = recRisk;
	}

	public double getRecDeposite() {
		return recDeposite;
	}

	public void setRecDeposite(double recDeposite) {
		this.recDeposite = recDeposite;
	}

	
}